<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>客户信息</title>  
    <link rel="stylesheet" href="__PUBLIC__/css/pintuer.css">
    <link rel="stylesheet" href="__PUBLIC__/css/admin.css">
    <script src="__PUBLIC__/js/jquery.js"></script>
    <script src="__PUBLIC__/js/pintuer.js"></script>  
</head>
<body>
<form method="post" action="" >
  <div class="panel admin-panel">
  <div class="panel-head">
      <strong><span class="icon-pencil-square-o"></span> 客户信息</strong>   
  </div>
  <table class="table table-hover text-center">
        <tr>
          <th width="120">ID</th>
          <th>姓名</th>       
          <th>密码</th>
          <th>邮箱</th>
          <th>联系方式</th>
          <th>是否禁用</th>
          <th>操作</th>       
        </tr>      
       
        <volist name="list" id="vo">
             <tr>
                  <td>{$vo.id}</td>
                  <td>{$vo.name}</td>
                  <td>{$vo.password}</td>
                  <td>{$vo.email}</td>  
                  <td>{$vo.phonenumber}</td>         
                  <td>{$vo.status}(1:未禁,0:禁用)</td>
                  <td>
                      <div class="button-group"> 
                          <a class="button border-main" href="./details?id={$vo.id}">
                              <span class="icon-edit"></span> 收货地址
                          </a> 
                          <a class="button border-main" href="./modify?id={$vo.id}">
                              <span class="icon-edit"></span> 修改
                          </a> 
                          <a class="button border-red" href="./view?id={$vo.id}" onclick="return del();">
                              <span class="icon-trash-o"></span> 删除
                          </a> 
                      </div>
                  </td>
             </tr>    
        </volist>
        
        <tr>
          <td colspan="8">
              <div class="pagelist"> 
                {$page}
              </div>
          </td>
        </tr>
  </table>
  </div>
</form>

<script type="text/javascript">
    function del(){
    if(confirm("您确定要删除吗?")==true){
        return true;
      }else{
        return false; 
      }
  }
</script>
</body>
</html>